package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GoodsClassStaple;

import java.util.List;

@DBMapper
public interface GoodsClassStapleMapper {
    int deleteByPrimaryKey(Integer stapleId);

    int insert(GoodsClassStaple record);

    int insertSelective(GoodsClassStaple record);

    GoodsClassStaple selectByPrimaryKey(Integer stapleId);

    int updateByPrimaryKeySelective(GoodsClassStaple record);

    int updateByPrimaryKey(GoodsClassStaple record);

    List<GoodsClassStaple> findClassStapleByCondition(GoodsClassStaple goodsClassStaple);
}